public class demo4 {
    public static void main(String[] args) {
        int count = 0, n = 100;
        for (int i = 0; i < n; i++) {
            for (int j = 0; j < i; j++) {
                for (int k = 0; k < j; k++) {
                    count ++;
                }
            }
        }
    }
}
